@echo off
set/p module_name=enter module name and press enter:
if "%module_name%"=="" (
    echo * module name is required,eg: ./build.bat peony
    pause
    exit
)
java -jar mybatis-generator-core-1.3.7.jar -configfile %module_name%-config.xml  -overwrite
pause
